-- GENERATED SPELL FOR [Grizzled Thistle Bear] --


function spell0_2165(pUnit, Event) --@Ravage,n/a--
pUnit:FullCastSpellOnTarget(3242,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2165', 2291, 1)
end

function Sorts_2165(pUnit, Event)
local choix_sorts_2165 = math.random(0, 0)
if choix_sorts_2165 == 0 then
pUnit:RegisterEvent('spell0_2165', 1, 1)
end
end

function mob2165_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2165', math.random(1500, 3000), 1)
end

function mob2165_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2165_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2165_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2165, 1, 'mob2165_Action')
RegisterUnitEvent(2165, 2, 'mob2165_Leave')
RegisterUnitEvent(2165, 3, 'mob2165_Kill')
RegisterUnitEvent(2165, 4, 'mob2165_Die')
